﻿using Quartz;
using System;
using System.Collections.Generic;
using System.Text;
using T.FAS.Runtime.ScheduleJob.SPI;

namespace T.FAS.Runtime.ScheduleJob.Service
{
    public class DefaultTriggerBuilder : ITriggerBuilder
    {
        public ITrigger Build(ScheduleJobExecContext context)
        {
            var trigger = TriggerBuilder.Create()
                .WithIdentity(context.TriggerKey)
                .Build();
            return trigger;
        }
    }
}
